import { createPinia } from 'pinia'
//1.引入piniaPersist持久化插件
import piniaPersist from 'pinia-plugin-persistedstate'
const pinia = createPinia()
pinia.use(piniaPersist)
const initStore=(app)=> {
    app.use(pinia)
}
export  {
    initStore
}